package com.lucher.mes.dao;

import java.util.List;

import com.lucher.mes.po.Problem;
import com.lucher.mes.po.Problem;

public interface ProblemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Problem record);

    int insertSelective(Problem record);

    Problem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Problem record);

    int updateByPrimaryKey(Problem record);
    
    //自定义接口
    List<Problem> findByList(Problem record);
    List<Problem> findByListForPage(Problem record);
    int findByCount(Problem record);
	Problem findByProblemcode(String problemcode);

	//根据产线代码返回对应的质检问题列表
    List<Problem> findProblemlistByLineCode(String linecode);
}